import ins from '@/utils/request.js'

//企业列表
export function getBusinessList(params) {
    return ins({
        url: '/enterprise/list',
        params
    })
}

//企业添加
export function addBusiness(data) {
    return ins({
        url: '/enterprise/add',
        method: 'post',
        data
    })
}

//企业状态
export function changeStatus(data) {
    return ins({
        url: '/enterprise/status',
        method: 'post',
        data
    })
}

//企业删除
export function delBusiness(data) {
    return ins({
        url: '/enterprise/remove',
        method: 'post',
        data
    })
}